package com.woniu.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.woniu.commons.exception.YogaException;
import com.woniu.model.dto.CoachEnterDto;
import com.woniu.model.dto.VenueLoadCoachDto;
import com.woniu.model.form.CoachEnterPlateForm;
import com.woniu.model.form.PageCoachEnterForm;
import com.woniu.model.form.rejectCoachEnterPlateForm;
import com.woniu.model.model.YCoachEnter;
import com.woniu.model.param.PageCoachEnterParam;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author EdisonLiu
 * @since 2024年05月23日
 */
public interface YCoachEnterService extends IService<YCoachEnter> {

    Integer coachEnterPlate(CoachEnterPlateForm form)throws YogaException;

    Integer passCoachEnterPlate(Integer coachId);

    Integer rejectCoachEnterPlate(rejectCoachEnterPlateForm form);

    Integer addCoachEnterVenue(CoachEnterPlateForm form);

    Integer passCoachEnterVenue(Integer coachId);

    Page<CoachEnterDto> pageCoachEnterByVenueId(PageCoachEnterParam param);

    Page<CoachEnterDto> pageCoachEnterPlateByVenueId(PageCoachEnterForm form);
}
